<?php
session_start();
//datos para establecer la conexion con la base de mysql.
include('conexion.inc.php');
  $link=Conectarse();
mysql_select_db("gotica_sociosgotica",$link); 
# Get this function at http://www.tienhuis.nl/files/email_verify_source.php
# and save as VerifyEmailAddress.php
require_once "verificaemail.php";
$sql = "SELECT * FROM socios";
$result = mysql_query($sql, $link);
echo "<table><tr><td>Nombre</td><td>Email</td></tr>";
while ($row = mysql_fetch_array($result)){
if($row['Email']) {
    # Do the actual check and notify if any errors come back.
    # READ THE COMMENTS IN THE FUNCTION, THIS IS SITE SPECIFIC!
    # WILL NOT WORK WITHOUT SITE LOCAL MODIFICATION.
    # You have been warned ;-)
    $error = validateEmail($row['Email'], true, true, 'postmaster@tienhuis.nl', 'outkast.tienhuis.nl', true);
    if ($error) {
	echo "<tr>";
	echo "<td>".$row['Nombres']." ".$row['ApPaterno']."</td><td>";
        echo $row['Email'];
		echo "</td></tr>";
    } 
}}
echo "</table>";
?>



?>